package huixue.cn.com.rxapp.api;


import java.util.Map;
import java.util.SortedMap;

import huixue.cn.com.library.entity.BaseHttpResult;
import huixue.cn.com.rxapp.entity.HttpExtResult;
import huixue.cn.com.rxapp.entity.HttpResult;
import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2018/7/28.
 */

public interface ZCXApi {

    @POST("user/login")
    @FormUrlEncoded
    Observable<BaseHttpResult<String>> login(@Field("account") String account, @Field("password") String password);
    //Observable<BaseHttpResult<String>> login(@FieldMap SortedMap<String, String> maps);


}
